package com.cf.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 启动类
 *
 * @author Chengfei
 * @date 2020/8/23 23:38
 */
@SpringBootApplication
@EnableCircuitBreaker  //开启Hystrix注解
@EnableEurekaClient
public class ProviderApp {

    public static void main(String[] args) {

        SpringApplication.run(ProviderApp.class,args);

    }

}
